package com.wenlin.myproduction.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.Expose;

import java.io.Serializable;
import java.util.List;


public class NewPlanResEn implements Parcelable {
    private String name;
    private String pic;
    private String resUrl;

    public NewPlanResEn(String name, String pic, String resUrl) {
        this.name = name;
        this.pic = pic;
        this.resUrl = resUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getResUrl() {
        return resUrl;
    }

    public void setResUrl(String resUrl) {
        this.resUrl = resUrl;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.name);
        dest.writeString(this.pic);
        dest.writeString(this.resUrl);
    }

    protected NewPlanResEn(Parcel in) {
        this.name = in.readString();
        this.pic = in.readString();
        this.resUrl = in.readString();
    }

    public static final Parcelable.Creator<NewPlanResEn> CREATOR = new Parcelable.Creator<NewPlanResEn>() {
        @Override
        public NewPlanResEn createFromParcel(Parcel source) {
            return new NewPlanResEn(source);
        }

        @Override
        public NewPlanResEn[] newArray(int size) {
            return new NewPlanResEn[size];
        }
    };
}
